package com.jiexinyun.dto.every;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import javax.validation.constraints.NotBlank;

@Data
@Schema(description = "简单字典")
public class SimpleDictEvery {

    @NotBlank(message = "码值不能为空")
    @Schema(description = "码值 值段使用英文")
    private String code;

    @NotBlank(message = "描述不能为空")
    @Schema(description = "描述")
    private String name;

    @JsonIgnore
    @Schema(description = "备注")
    private String remark;

}
